package com.ruoyi.customer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.customer.domain.MessageRecord;
import org.apache.ibatis.annotations.Insert;

public interface MessageRecordMapper extends BaseMapper<MessageRecordMapper> {


    @Insert("insert into message_record(type, content, customer_ids, user_ids, create_by, create_time)" +
            " values (#{type}, #{context}, #{customerIds}, #{userIds}, #{createBy}, now())")
    void insert(MessageRecord messageRecord);
}
